package com.fita.admin.service.data;

import com.fita.admin.service.DataService;
import com.fita.entity.order.PaymentRequest;

import java.util.List;

/**
 * 
 * @author sjh
 *
 */
public interface PaymentRequestService extends DataService<PaymentRequest>{
	
	/**
	 * 
	 * @param code
	 * @return
	 */
	public PaymentRequest load(String code);


	/**
	 * 根据订单号查询付款请求
	 * @param orderCode
	 * @return
	 */
    PaymentRequest loadByOrderCode(String orderCode);

	/**
	 *
	 * @param orderCode
	 * @return
	 */
	List<PaymentRequest> listByOrderCode(String orderCode);
}
